// { "framework": "Vue"} 

/******/ (function(modules) { // webpackBootstrap
/******/ 	// The module cache
/******/ 	var installedModules = {};
/******/
/******/ 	// The require function
/******/ 	function __webpack_require__(moduleId) {
/******/
/******/ 		// Check if module is in cache
/******/ 		if(installedModules[moduleId]) {
/******/ 			return installedModules[moduleId].exports;
/******/ 		}
/******/ 		// Create a new module (and put it into the cache)
/******/ 		var module = installedModules[moduleId] = {
/******/ 			i: moduleId,
/******/ 			l: false,
/******/ 			exports: {}
/******/ 		};
/******/
/******/ 		// Execute the module function
/******/ 		modules[moduleId].call(module.exports, module, module.exports, __webpack_require__);
/******/
/******/ 		// Flag the module as loaded
/******/ 		module.l = true;
/******/
/******/ 		// Return the exports of the module
/******/ 		return module.exports;
/******/ 	}
/******/
/******/
/******/ 	// expose the modules object (__webpack_modules__)
/******/ 	__webpack_require__.m = modules;
/******/
/******/ 	// expose the module cache
/******/ 	__webpack_require__.c = installedModules;
/******/
/******/ 	// define getter function for harmony exports
/******/ 	__webpack_require__.d = function(exports, name, getter) {
/******/ 		if(!__webpack_require__.o(exports, name)) {
/******/ 			Object.defineProperty(exports, name, {
/******/ 				configurable: false,
/******/ 				enumerable: true,
/******/ 				get: getter
/******/ 			});
/******/ 		}
/******/ 	};
/******/
/******/ 	// getDefaultExport function for compatibility with non-harmony modules
/******/ 	__webpack_require__.n = function(module) {
/******/ 		var getter = module && module.__esModule ?
/******/ 			function getDefault() { return module['default']; } :
/******/ 			function getModuleExports() { return module; };
/******/ 		__webpack_require__.d(getter, 'a', getter);
/******/ 		return getter;
/******/ 	};
/******/
/******/ 	// Object.prototype.hasOwnProperty.call
/******/ 	__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };
/******/
/******/ 	// __webpack_public_path__
/******/ 	__webpack_require__.p = "";
/******/
/******/ 	// Load entry module and return exports
/******/ 	return __webpack_require__(__webpack_require__.s = 410);
/******/ })
/************************************************************************/
/******/ ({

/***/ 272:
/***/ (function(module, exports) {

module.exports = {
  "container": {
    "flexDirection": "row",
    "backgroundColor": "#FFFFFF"
  },
  "cell-title": {
    "alignItems": "center",
    "justifyContent": "center",
    "width": "300",
    "flexDirection": "row",
    "paddingLeft": "20"
  },
  "cell-title-t": {
    "fontSize": "30",
    "color": "#272727"
  },
  "cell-input": {
    "height": 100,
    "justifyContent": "center",
    "alignItems": "flex-end"
  },
  "cell-input-i": {
    "textAlign": "left",
    "paddingRight": "20",
    "height": 100
  },
  "cell-top-border": {
    "borderTopColor": "#e2e2e2",
    "borderTopWidth": "1"
  },
  "cell-bottom-border": {
    "borderBottomColor": "#e2e2e2",
    "borderBottomWidth": "1"
  }
}

/***/ }),

/***/ 273:
/***/ (function(module, exports, __webpack_require__) {

"use strict";


Object.defineProperty(exports, "__esModule", {
    value: true
});
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//

exports.default = {
    components: {},
    props: {
        disabled: {
            type: Boolean,
            default: false
        },
        height: {
            type: Number,
            default: 90
        },
        value: {
            type: Number
        },
        hasTopBorder: {
            type: Boolean,
            default: false
        },
        hasBottomBorder: {
            type: Boolean,
            default: true
        },
        type: {
            type: String,
            default: 'text'
        },
        maxLength: {
            type: Number,
            default: 50
        },
        titleStyle: {
            type: Object
        },
        inputStyle: {
            type: Object
        },
        title: {
            type: String,
            default: 'text'
        },
        label: {
            type: String
        },
        labelStyle: {
            type: Object
        }
    },
    data: function data() {
        return {
            defaultTitleStyle: {
                width: 300,
                fontSize: 32,
                align: 'left'
            },
            defaultInputStyle: {
                width: 450,
                fontSize: 32,
                color: '#666',
                align: 'right'
            },
            defaultLabelStyle: {
                color: '#ff5d54',
                fontSize: 32
            },
            MtitleStyle: {},
            MinputAreaStyle: {},
            MinputStyle: {},
            MtitleTextStyle: {},
            McontainerStyle: {}

        };
    },
    computed: {},
    methods: {
        getVal: function getVal(e) {
            this.$emit('getVal', e.value);
        }
    },
    created: function created() {
        this.inputStyle = Object.assign({}, this.defaultInputStyle, this.inputStyle);
        this.titleStyle = Object.assign({}, this.defaultTitleStyle, this.titleStyle);
        this.labelStyle = Object.assign({}, this.defaultLabelStyle, this.labelStyle);

        var _style = {};

        var align = this.titleStyle.align;
        if (align == 'left') {
            _style = {
                justifyContent: 'flex-start'
            };
        } else if (align == 'right') {

            _style.justifyContent = 'flex-end';
        } else {

            _style.justifyContent = 'center';
        }

        if (this.titleStyle.width) {
            _style.width = this.titleStyle.width;
        }

        this.MtitleStyle = _style;

        if (this.inputStyle.width) {
            this.MinputAreaStyle.width = this.inputStyle.width;
        }

        var i_style = {};

        if (this.inputStyle.fontSize) {
            i_style.fontSize = this.inputStyle.fontSize;
        }

        if (this.inputStyle.width) {
            i_style.width = this.inputStyle.width;
        }
        if (this.inputStyle.color) {
            i_style.color = this.inputStyle.color;
        }

        var align = this.inputStyle.align;

        if (align) {
            i_style.textAlign = align;
        }

        this.MinputStyle = i_style;

        if (this.titleStyle.fontSize) {
            this.MtitleTextStyle.fontSize = this.titleStyle.fontSize;
        }

        this.McontainerStyle.height = this.height;
    }
};

/***/ }),

/***/ 274:
/***/ (function(module, exports) {

module.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;
  return _c('div', {
    class: ['container', _vm.hasTopBorder && 'cell-top-border', _vm.hasBottomBorder && 'cell-bottom-border'],
    style: _vm.McontainerStyle
  }, [_c('div', {
    staticClass: ["cell-title"],
    style: _vm.MtitleStyle
  }, [_c('div', {
    staticStyle: {
      flexDirection: "row"
    }
  }, [_c('text', {
    staticStyle: {
      color: "#ff5d54",
      fontSize: "32px"
    }
  }, [_vm._v(_vm._s(_vm.label))]), _c('text', {
    staticClass: ["cell-title-t"],
    style: _vm.MtitleTextStyle
  }, [_vm._v(_vm._s(_vm.title))])])]), _c('div', {
    staticClass: ["cell-input"],
    style: _vm.MinputAreaStyle
  }, [_c('input', {
    staticClass: ["cell-input-i"],
    style: _vm.MinputStyle,
    attrs: {
      "disabled": _vm.disabled,
      "type": _vm.type,
      "maxLength": _vm.maxLength,
      "value": _vm.value
    },
    on: {
      "input": _vm.getVal
    }
  })])])
},staticRenderFns: []}
module.exports.render._withStripped = true

/***/ }),

/***/ 410:
/***/ (function(module, exports, __webpack_require__) {

var __vue_exports__, __vue_options__
var __vue_styles__ = []

/* styles */
__vue_styles__.push(__webpack_require__(272)
)

/* script */
__vue_exports__ = __webpack_require__(273)

/* template */
var __vue_template__ = __webpack_require__(274)
__vue_options__ = __vue_exports__ = __vue_exports__ || {}
if (
  typeof __vue_exports__.default === "object" ||
  typeof __vue_exports__.default === "function"
) {
if (Object.keys(__vue_exports__).some(function (key) { return key !== "default" && key !== "__esModule" })) {console.error("named exports are not supported in *.vue files.")}
__vue_options__ = __vue_exports__ = __vue_exports__.default
}
if (typeof __vue_options__ === "function") {
  __vue_options__ = __vue_options__.options
}
__vue_options__.__file = "D:\\webStormWorkPlace\\weexYxqApp\\src\\native\\com\\yx\\components\\cellInput.vue"
__vue_options__.render = __vue_template__.render
__vue_options__.staticRenderFns = __vue_template__.staticRenderFns
__vue_options__._scopeId = "data-v-fa3699a0"
__vue_options__.style = __vue_options__.style || {}
__vue_styles__.forEach(function (module) {
  for (var name in module) {
    __vue_options__.style[name] = module[name]
  }
})
if (typeof __register_static_styles__ === "function") {
  __register_static_styles__(__vue_options__._scopeId, __vue_styles__)
}

module.exports = __vue_exports__
module.exports.el = 'true'
new Vue(module.exports)


/***/ })

/******/ });